/*
 * =====================================================================================
 *
 *       Filename:  common.h
 *
 *    Description:  
 *
 *        Version:  1.0
 *        Created:  2019年12月25日 21时02分56秒
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  YOUR NAME (), 
 *   Organization:  
 *
 * =====================================================================================
 */
#ifndef __TEST_GENL_COMMMON_H
#define __TEST_GENL_COMMMON_H
enum {
    TEST_ATTR_UNSPEC,
//#define TEST_ATTR_UNSPEC TEST_ATTR_UNSPEC
    TEST_ATTR_IP,
//#define TEST_ATTR_IP TEST_ATTR_IP
    TEST_ATTR_PORT,
//#define TEST_ATTR_PORT TEST_ATTR_PORT
    __TEST_ATTR_MAX,
};
#define TEST_ATTR_MAX (__TEST_ATTR_MAX - 1)

/* 定义generic netlink的cmd及其ops */
enum {
    TEST_CMD_UNSPEC,
//#define TEST_CMD_UNSPEC TEST_CMD_UNSPEC
    TEST_CMD_ADD,
//#define TEST_CMD_ADD TEST_CMD_ADD
    TEST_CMD_DEL,
//#define TEST_CMD_DEL TEST_CMD_DEL
    __TEST_CMD_MAX,
};
#define TEST_CMD_MAX (__TEST_CMD_MAX - 1)

#define TEST_GENL_VERSION (0x01)

#endif

